package com.qf.smartplatform.mapper;

import com.qf.smartplatform.pojo.Menu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * projectName:day12_27_Test
 * author:guoLei
 * time:2022/1/9 17:31
 * description:
 */
public interface MenuMapper {
    @Select("select * from sys_menu")
    List<Menu> selectAllMenu();

    void updateMenu(Menu menu);

    void updateMenuEnable(@Param("enable") String enable, @Param("menuId") String menuId);

}
